package cn.akwangl.metadata.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 服务总表
 * </p>
 *
 * @author 阿坤
 * @since 2021-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_dg_service_dev_fh")
public class DgServiceDevFh implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @TableField("NAME")
    private String name;

    /**
     * 服务名 服务名
     */
    @TableField("SERVICE_NAME")
    private String serviceName;

    /**
     * 版本 服务版本
     */
    @TableField("SERVICE_VERSION")
    private String serviceVersion;

    @TableField("SERVICE_CLASSES")
    private Integer serviceClasses;

    @TableField("REQUEST_TYPE")
    private String requestType;

    @TableField("RESPONSE_TYPE")
    private String responseType;

    @TableField("PROTOCOL")
    private String protocol;

    /**
     * 描述 服务描述
     */
    @TableField("SERVICE_DESC")
    private String serviceDesc;

    /**
     * SQL定义 SQL定义
     */
    @TableField("DEFINITION")
    private String definition;

    /**
     * 服务状态 服务状态0：停用1：在用
     */
    @TableField("SERVICE_STATUS")
    private Integer serviceStatus;

    /**
     * 创建时间 创建时间
     */
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    /**
     * 修改时间 修改时间
     */
    @TableField("LAST_MODIFY_TIME")
    private LocalDateTime lastModifyTime;

    @TableField("CREATOR_ID")
    private Integer creatorId;

    @TableField("LAST_MODIFIER_ID")
    private Integer lastModifierId;

    @TableField("API_INFO")
    private String apiInfo;

    /**
     * 参数对照关系
     */
    @TableField("PARAM")
    private String param;


}
